﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Telerik.Web.UI;
using Guru.Web.Controls;


/// <summary>
/// Summary description for HSMMasterPage
/// </summary>
public class HSMMasterPage : Guru.Web.UI.GuruMasterPage, IMasterPage
{
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);        
    }
    public void AjaxAddResponseScript(string script)
    {
        RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(this.Page);
        if (ajaxManager != null)
            ajaxManager.ResponseScripts.Add(script);
    }
}

public interface IMasterPage
{
    void AjaxAddResponseScript(string script);
}
